//
//  BaseHeader.h
//  Qyer
//
//  Created by dlios on 15/10/16.
//  Copyright (c) 2015年 GF. All rights reserved.
//

#ifndef Qyer_BaseHeader_h
#define Qyer_BaseHeader_h

#define WS(weakSelf) __weak __typeof(&*self)weakSelf = self;

#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width

#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height

#define WIDTH [UIScreen mainScreen].bounds.size.width / 375

#define HEIGHT [UIScreen mainScreen].bounds.size.height / 667

#define CSM(width, height) CGSizeMake(width, height)

#define kCOLOR(r, g, b) [UIColor colorWithRed:r / 255.0 green:g / 255.0 blue:b / 255.0 alpha:1]

#define kFont(x) [UIFont systemFontOfSize:(x)]

#define CRM(x,y,wid,hei)  CGRectMake(x, y, wid, hei)

#define NAVIGATION_BAR_HEIGHT           64.0f
#define TAB_TAB_HEIGHT                  49.0f
#define TABLE_HEIGHT SCREEN_HEIGHT - NAVIGATION_BAR_HEIGHT - TAB_TAB_HEIGHT
#define UIColorWithRGBA(r,g,b,a)        [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
// 夜间模式
#define NIGHT_SUB_BACK_COLOR UIColorWithRGBA(47., 47., 47., 1.0)
#define NIGHT_BACKGROUND UIColorWithRGBA(37., 37., 37., 1.0)
#define DAY_BACKGROUND [UIColor colorWithRed:247. / 255 green:247. / 255 blue:247. / 255 alpha:1]

#define BIG_LABEL_NIGHT_COLOR UIColorWithRGBA(167., 180., 194., 1.0)
#define BIG_LABEL_NIGHT_LIGHT UIColorWithRGBA(130., 130., 130., 1.0)
#define BIG_LABEL_DAY_COLOR [UIColor blackColor]
#define SMALL_LABEL_NIGHT_COLOR UIColorWithRGBA(110., 110., 110., 1.0)
#define WHITE_COLOR [UIColor whiteColor]
#define LIGHT_GREEN UIColorWithRGBA(62, 201, 179, 1.0)
#define NAVBAR_COLOR UIColorWithRGBA(17, 182, 139, 1.0)

#import "CoreDataManager.h" // coreData
#import "Forum.h"

// URL
#define kURL_DESTINATION @"http://open.qyer.com/qyer/footprint/continent_list?client_id=qyer_ios&client_secret=cd254439208ab658ddf9&count=20&lat=25.04427337646484&lon=121.5138320922852&page=1&track_app_channel=App%2520Store&track_app_version=6.6&track_device_info=iPhone%25204%28ChinaMobile%2CChinaUnicom%29&track_deviceid=301FBCE0-A789-4EAC-ADF1-95E1AACF2A70&track_os=ios%25207.1.2&v=1" // 目的地首页接口

#define kURL_play @"http://open.qyer.com/qyer/onroad/poi_list?category_id=32%2C147%2C148&city_id=50&client_id=qyer_ios&client_secret=cd254439208ab658ddf9&count=20&oauth_token=aa3e2c9cfa1fa80cc75956eeb20534b3&orderby=popular&page=1&track_app_channel=App%2520Store&track_app_version=6.7&track_device_info=iPhone%25205s&track_deviceid=DD5CD9DA-15F0-4236-B9DF-8B587C98B73A&track_os=ios%25209.1&track_user_id=6899839&types=&v=1"// 香港页面游玩

#define kURL_eat @"http://open.qyer.com/qyer/onroad/poi_list?category_id=78&city_id=50&client_id=qyer_ios&client_secret=cd254439208ab658ddf9&count=20&oauth_token=aa3e2c9cfa1fa80cc75956eeb20534b3&orderby=popular&page=1&track_app_channel=App%2520Store&track_app_version=6.7&track_device_info=iPhone%25205s&track_deviceid=DD5CD9DA-15F0-4236-B9DF-8B587C98B73A&track_os=ios%25209.1&track_user_id=6899839&types=&v=1"// 香港页面美食



#import "MJRefresh.h"//刷新
#import "Reachability.h" // 判断网络状态
#import "AFN.h"//AFN封装

#import "UIImage+GaussianBlur.h" // 图片模糊效果

// 足迹
#import "DestinationViewController.h"
#import "GYZHot_countryModel.h"
#import "GYZHot_countryTableViewCell.h"
#import "GYZHot_countryCollectionViewCell.h"
#import "GYZCountryViewController.h"
#import "GYZCountryTableViewCell.h"
#import "GYZCountryCollectionViewCell.h"
#import "GYZFreeModel.h"
#import "GYZFreeTabelViewCell.h"
#import "GYZAllCountryViewController.h"
#import "GYZAllCountryModel.h"
#import "GYZAllCountryCollectionViewCell.h"
#import "GYZSuperFreeViewController.h"
#import "GYZCityViewController.h"
#import "GYZCityModel.h"
#import "GYZCityTravelTableViewCell.h"
#import "GYZCityCollectionViewCell.h"
#import "GYZSearchViewController.h"
#import "GYZSearchModel.h"
#import "GYZSearchTableViewCell.h"
#import "GYZFeaturedViewController.h"
#import "GYZFeaturedModel.h"
#import "GYZFeaturedTableViewCell.h"
#import "GYZFeaturedDetailViewController.h"
#import "GYZFeaturedDetailModel.h"
#import "GYZFeaturedDetailTableViewCell.h"
#import "GYZCountryDetailViewController.h"

#import "CommunityViewController.h" // 社区
#import "DetailViewController.h"
#import "CommunityHeadCell.h"
#import "CommunityCell.h" 
#import "CommunityModel.h"
#import "HeaderView.h"
#import "FooterView.h"
#import "CellForPostModel.h"
#import "PostModel.h"
#import "CommunityWeb.h"
#import "AskModel.h"
#import "AskTableViewCell.h"
#import "HotDoorTCell.h"
#import "HostDoorCCell.h"
#import "AskViewController.h"
#import "SeachAskVc.h"

#import "DestinationViewController.h"//足迹


#import "MyViewController.h"//我的

#import "RecommendViewController.h"//推荐


#import "UIImageView+WebCache.h"

#import "GiFHUD.h"//三方旋转菊花

#import "StringWithWidth.h"//自适应宽度

#import "StringWithHeight.h"//自适应高度

#import "NightMode.h"//夜间模式(单例)


#import "BaseModel.h"

#import "BaseTableViewCell.h"





#import "ScrollImageView.h"

#import "WebViewController.h"
#import "GFRmTableViewCell.h"

#import "GFJnViewController.h"

#import "GFCollectView.h"

#import "GFDetailCollectionViewCell.h"

#import "GFButtonScrollView.h"

#import "GFTbView.h"

#import "GFTbTableViewCell.h"

#import "GFGlViewController.h"

#import "GFGlTableViewCell.h"

#import "GFLcTableViewCell.h"

#import "GFLcViewController.h"

#import "GFLxdViewController.h"

#import "GFZtViewController.h"

#import "GFLxdTableViewCell.h"

#import "GFYjDetailViewController.h"

#import "GFHeader.h"

#import "GFYjDetailTableViewCell.h"

#import "GFLxdDetailViewController.h"

#import "GFLxdDetailTableViewCell.h"

#import "GFSearchTableViewCell.h"

#import "GFSearchModel.h"

#import "NavView.h"

#import "GFRmView.h"

#import "GFSearchViewController.h"

#import "ViewController.h"

#import "GFAboutViewController.h"

#endif
